﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Components
{
    public class Settings
    {
        private static string pCharacterConnection;
        private static string pAccountConnection;
        private static string pRankingConnection;
        private static string pLoggingConnection;
        private static string pWebConnection;

        public static string CharacterConnection
        {
            get{ return pCharacterConnection; }
        }
        public static string AccountConnection
        {
            get { return pAccountConnection; }
        }
        public static string RankingConnection
        {
            get { return pRankingConnection; }
        }
        public static string LoggingConnection
        {
            get { return pLoggingConnection; }
        }
        public static string WebConnection
        {
            get { return pWebConnection; }
        }

        public static void Set(string character, string account, string ranking, string logging, string web)
        {
            pCharacterConnection = character;
            pAccountConnection = account;
            pRankingConnection = ranking;
            pLoggingConnection = logging;
            pWebConnection = web;
        }
    }
}
